﻿using System;
using System.Collections.Generic;
using System.Text;
using Task.Common.Interface;
using System.Collections;
using Task.Common.Entity;

namespace Task.Logic
{
    class ProcessBusinessFieldsLogic:IProcessBusinessFields
    {
        /// <summary>
        /// 根据流程编号获取 相关配置字段的信息
        /// </summary>
        /// <param name="processID">流程编号</param>
        /// <param name="start"></param>
        /// <param name="limit"></param>
        /// <param name="count"></param>
        /// <returns></returns>
        public IList GetList(string processID, int start, int limit, out int count)
        {
            Hashtable table = new Hashtable();
            table.Add("processid", processID);
            IList list = DataHelper.Instance().GetList("ProcessBusinessFieldsLogic_GetList", table, start, limit);
            count = list.Count;
            //((Task.Common.Entity.ProcessBusinessFieldsEntity)(list[2])).CONTROL_TYPE
            return list;
        }

        public ProcessBusinessFieldsEntity Get(string processID)
        {
            throw new NotImplementedException();
        }

        public void Insert(ProcessBusinessFieldsEntity entity)
        {
            throw new NotImplementedException();
        }

        public void Update(ProcessBusinessFieldsEntity entity)
        {
            throw new NotImplementedException();
        }

        public bool Exists(string processID)
        {
            throw new NotImplementedException();
        }

        public void Delete(string processID)
        {
            throw new NotImplementedException();
        }
    }
}
